local options = require('config.options')
local packer = require('core.packer_loader')

local function setOptions()
  for option, value in pairs(options) do
    vim.o[option] = value
  end
end

local function main()
  packer.setup()
  setOptions()
  vim.cmd [[au BufReadPost * if line("'\"") > 1 && line("'\"") <= line("$") | exe "normal! g'\"" | endif]]
end

main()
